package dk.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Select;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import dk.beans.Examlist;

public interface examlistmapper extends BaseMapper<Examlist>{

	@Select("select e.id,e.title,type,optiona,optionb,optionc,optiond,answer,scorce,difficulty,parse,s.name as subjectname\r\n" + 
			"from examlist as e\r\n" + 
			"left JOIN subject as s\r\n" + 
			"on e.subjectid = s.id") 
	List<Examlist> IselectexamList() ;
	

}
